package top.zhaoyuliu.logbook.server.connect.builder;

import top.zhaoyuliu.logbook.server.enums.NodeStatus;

/**  
 * Copyright © 2021 Arain. All rights reserved.
 *
 * @Title: Node.java
 * @Prject: logbook-server
 * @Package: top.zhaoyuliu.logbook.server.connect.builder
 * @Description: <功能详细描述>
 * @author: Arain  
 * @date: 2021年1月25日 下午2:09:44
 * @version: V1.0  
 */
public class Node extends org.tio.core.Node{
	
	private NodeStatus status;
	
	public Node(String ip, int port) {
		super(ip, port);
	}

	public NodeStatus getStatus() {
		return status;
	}

	public void setStatus(NodeStatus status) {
		this.status = status;
	}

	public Node(String ip, int port, NodeStatus status) {
		super(ip, port);
		this.status = status;
	}
}

